package com.huwei.data;

import com.huwei.entity.UserAccount;

/**
 * 用户认证数据源接口
 * @author huwei
 *
 */
public interface AuthenticationDataSource {

	UserAccount findByUsername(String username);
	
	UserAccount findByPhone(String phone);
	
	UserAccount findById(long id);

	UserAccount save(UserAccount userAccount);
}
